package com.grades.springboot.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface SubjectMapper {
    @Select("select id from subjects where name=#{subject}")
    String selectByName(String subject);
}
